<template>
<h1>HomeView</h1>
  <input type="text" value="msg" />
  <input  type="text" v-bind:value="msg" />
  <input  type="text" v-model="msg" />
  <input  type="text" :value="msg" />
<hr>
  <a href="url">1</a>
<br>
  <a :href="url">2</a>
</template>
<script setup>
import {ref} from "vue";

const msg =ref('sss');
const url = ref('http://www.baidu.com');
url.value = 'http://www.qq.com';
</script>


<style scoped>

</style>